<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<style>
a{ text-decoration:none; color:#FFF;}
.Bgbox{ width:980px; margin:0 auto;}
.top{ height:25px; background-color:#504f50; font-family:"黑体"; font-size:14px; color:#e5e5e5; padding-top:8px;}
.logo{height:85px;}
.logo img{display:block; float:left;}
.logo1{ margin-top:8px;}
.logo2{ margin-top:30px; margin-left:35px;}
.mainLeft,.mainRight{ float:left; height:420px; margin:0 auto;}
.mainLeft{ width:560px;}
.mainRight{ background-color:#e5e5e5; width:420px;}
.name,.pass{ font-family:"adobe 黑体 Std"; font-size:30px;color:#4c4c4c; margin-top:40px; margin-left:23px;}
.user,.passWord{ width:286px; height:40px; margin-left:23px; background-repeat:no-repeat; background-position:10px 10px;border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-top-color: #D6D6D6;border-right-color: #D6D6D6;border-bottom-color: #D6D6D6;border-left-color: #D6D6D6; padding-top:10px;font-size: 30px;font-family: "Heiti SC";color: rgb( 77, 77, 77 );line-height: 1;text-align: left; padding-left:50px;}
.user{ background-image:url(images/goder/user_06.png);}
.passWord{ background-image: url(images/goder/user_09.png);}
.worry{ font-family:"adobe 黑体 Std"; font-size:15px; color:#03206a; float:right; margin-right:65px; margin-top:20px;}
.login{ background-image:url(images/goder/login_06.png); width:200px; height:56px; font-family:"adobe 黑体 Std"; font-size:35px; text-align:center; padding-top:14px; margin-left:100px; margin-top:24px;}
.bottom{ clear:left;  font-size: 15px;font-family: "Adobe Heiti Std";color: rgb( 77, 77, 77 );line-height: 2;text-align: center; padding-top:5%;}
</style>
<meta charset="utf-8">
<title>湖南省星讯科技发展有限公司-ERP</title>
</head>
<script src="js/jquery/jquery-1.7.1.min.js" type="text/javascript"></script> 
<script type="text/javascript">
	$(function(){
		document.onkeydown = function(e){
		    var ev = document.all ? window.event : e;
		    if(ev.keyCode==13) {
		    	dologin();
	 	    }
		}
	});   	

    function dologin()
    {
    	
        var username = $("#username").val();
        var password = $("#password").val();
       
        if (username == "")
        {
            alert('账号不能为空!');
            $("#username").focus();
            return false;
        }
        if (password == "")
        {
            alert('密码不能为空!');
            $("#password").focus();
            return false;
        }
        document.getElementById('loginForm').submit();
    }
</script>
<body>
<div class="top"><div style="width:980px; margin:0 auto;"><marquee scrollAmount="3" direction="left" width="1000">我们一直致力于国内企业信息化建设软件开发，力求与客户建立长期的合作伙伴关系，并共谋发展</marquee></div></div>
<div class="Bgbox">
<div class="logo">
	<img class="logo1" src="images/goder/logo_03.png">
    <img class="logo2" src="images/goder/logo1_06.png">
</div>
<div class="main">
	<img class="mainLeft" src="images/goder/banner_03.png">
	<form name="loginForm" id="loginForm" method="post" action="j_spring_security_check" >
    <div class="mainRight">
   	 	 <div class="name">用户名</div>
       	 <input class="user" id="username"  maxLength="30" name="username" />
         <div class="pass">密码</div>
         <input class="passWord" id="password" type="password" name="password" />
     <div class="login"><a href="javascript:dologin();" > 登录</a></div> 
    </div>
      </form>
</div>
<div class="bottom">湖南省星讯科技发展有限公司全案策划</div>
</div>

</body>
</html>

